//
//  expressTableViewCell.m
//  LazyCat
//
//  Created by rocky on 16/1/5.
//  Copyright (c) 2016年 zhanshu. All rights reserved.
//

#import "expressTableViewCell.h"

@implementation expressTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.label1 = [[UILabel alloc]init];
        [self addSubview:self.label1];
        self.label2 = [[UILabel alloc]init];
        [self addSubview:self.label2];
        self.label3 = [[UILabel alloc]init];
        [self addSubview:self.label3];
//        self.label4 = [[UILabel alloc]init];
//        [self addSubview:self.label4];
        self.label5 = [[UILabel alloc]init];
        [self addSubview:self.label5];
        self.arrImg = [[UIImageView alloc]init];
        [self addSubview:self.arrImg];
        self.bottomV = [[UIView alloc]init];
        [self addSubview:self.bottomV];
    }
    return self;
}
-(void)layoutSubviews {
    self.label1.frame = CGRectMake(10, 10, ScreenWidth, 20);
    self.label1.font = [UIFont systemFontOfSize:15];
    self.label1.textAlignment = NSTextAlignmentLeft;
    
    self.label2.frame = CGRectMake(10, 35, ScreenWidth, 20);
    self.label2.font = [UIFont systemFontOfSize:15];
    self.label2.textAlignment = NSTextAlignmentLeft;
    
    self.label3.frame = CGRectMake(10, 60, ScreenWidth, 20);
    self.label3.font = [UIFont systemFontOfSize:15];
    self.label3.textAlignment = NSTextAlignmentLeft;
    
//    self.label4.frame = CGRectMake(ScreenWidth/2+10, 35, ScreenWidth/2-50, 20);
//    self.label4.font = [UIFont systemFontOfSize:13];
//    self.label4.textAlignment = NSTextAlignmentLeft;
    
    self.label5.frame = CGRectMake(10, 85, ScreenWidth, 20);
    self.label5.font = [UIFont systemFontOfSize:15];
    self.label5.textAlignment = NSTextAlignmentLeft;
    
    self.arrImg.frame = CGRectMake(ScreenWidth-25, 35, 10, 15);
    self.arrImg.image = [UIImage imageNamed:@"huijiantou"];
    self.arrImg.alpha = 0.2;
    
    self.bottomV.frame = CGRectMake(0, 104, ScreenWidth, 1);
    self.bottomV.alpha = 0.2;
    self.bottomV.backgroundColor = [UIColor lightGrayColor];
    
}
- (void)awakeFromNib {
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}
@end
